package com.yuexunit.finance.member.service;

import com.yuexunit.finance.member.entity.FingerTrunkAccountMappingEntity;
import com.yuexunit.inject.annotation.Implements;
import com.yuexunit.persist.PersistUtil;
import com.yuexunit.persist.annotation.Transactional;

/**
 * @author wenwenlong
 */
@Implements(FingerTrunkAccountMappingService.class)
public class FingerTrunkAccountMappingServiceImpl implements FingerTrunkAccountMappingService {

	@Override
	public FingerTrunkAccountMappingEntity inquireFingerTrunkAccountMappingDetail(String fingerTrunkAccountId) {
		return PersistUtil.get(FingerTrunkAccountMappingEntity.class, fingerTrunkAccountId);
	}

	@Override
	@Transactional
	public void createFingerTrunkAccountMapping(FingerTrunkAccountMappingEntity entity) {
		PersistUtil.insert(entity);
	}
}
